package com.greatchn.authorization_server.constant;

import org.springframework.util.AntPathMatcher;

/**
 * @Constant: constant
 * @author: ZBoHang
 * @time: 2023/2/20 16:08
 */
public class Constant {

    private Constant() {}
    /**
     * JWT 加密 密钥
     */
    public static final String JWT_SECRET_KEY = "uiop";
    /**
     * 路径匹配对象
     */
    public static final AntPathMatcher ANTPATHMATCHER = new AntPathMatcher();
    /**
     * 不需要登录角色
     */
    public static final String DEFAULT_ROLE = "ROLE_NOT_NEED_LOGIN";
    /**
     * token 到期时间
     */
    public static final Long TOKEN_EXPIRES = Long.valueOf("3600");

}
